""" ihrm断言封装工具"""
def assert_login(status_code,code,success,message,resp):
    assert resp.status_code == status_code
    assert resp.json().get('success') == success
    assert resp.json().get('code') == code
    assert message in resp.json().get('message')

